package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.park.api.factory.RemoteParkGarageLaneDeviceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @description: 车库通道列表
 * @author caogq
 * @date 2022/6/16 12:35
 */
@FeignClient(contextId = "RemoteParkGarageLaneDeviceService", value = ServiceNameConstants.PARK_BIZ_SERVICE, fallbackFactory = RemoteParkGarageLaneDeviceFallbackFactory.class)
public interface RemoteParkGarageLaneDeviceService {


    @DeleteMapping("/web/garageLaneDev/deleteDevices")
    AjaxResult deleteDevices(@RequestParam("parkId")Long parkId);

}
